<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <!-- <div v-bind:id="a">等我打完</div> 
        <input type="text" v-model="imgUrl">  
        <img v-bind:src="imgUrl" alt="">   -->
        <div :id="a">等我打完</div> 
        <input type="text" v-model="imgUrl">  
        <img :src="imgUrl" alt="">  
        <div :a="a">wdwd</div>
    </div>
    <script src="./vue.js"></script>
    <script>
       
        const vm = new Vue({
            el:"#app",
            data:{ 
                a:"box",
                imgUrl:""
            }
            
        })
    
       
    </script>
</body>
</html>